package com.futures.questionbank.db.table;

import com.futures.questionbank.db.Text;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

@Table(database = Text.class)
public class section extends BaseModel {
    public int getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public int getIndex() {
        return index;
    }

    public int getChapter_id() {
        return chapter_id;
    }

    public int getExam_id() {
        return exam_id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public void setChapter_id(int chapter_id) {
        this.chapter_id = chapter_id;
    }

    public void setExam_id(int exam_id) {
        this.exam_id = exam_id;
    }

    @PrimaryKey(autoincrement = true)
    private int id;

    @Column
    private String title;

    @Column
    private int index;

    @Column
    private int chapter_id;

    @Column
    private int exam_id;

}
